@import '~antd/es/style/themes/default.less';

@import './assets/less/base.less';

html,
body,
#root {
  height: 100%;
  color: #000;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

.clearfix() {
  zoom: 1;
  &::before,
  &::after {
    display: table;
    content: ' ';
  }
  &::after {
    clear: both;
    height: 0;
    font-size: 0;
    visibility: hidden;
  }
}

.row-clickable {
  .ant-table-row {
    cursor: pointer;
  }
}

.green-color {
  color: #2fc25b;
}

.primary-color {
  color: @primary-color !important;
}

.disabled-color {
  color: rgba(0, 0, 0, 0.25);
  &:hover {
    color: rgba(0, 0, 0, 0.25);
  }
}

.text-center {
  text-align: center;
}

/* Change the white to any color ;) */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}
